/**
 * Created by wuli等等 on 2017/2/24.
 */
import React, { Component } from 'react';
import { View, Text ,StyleSheet} from 'react-native';


export default class EditInfo extends Component {
    static defaultProps = {
        title: 'EditInfo'
    };

    render() {
        return (

            <View style={styles.container}>
                 <Text>Hi! My name is {this.props.title}.</Text>
             </View>
        )
    }
}

let styles = StyleSheet.create({
    container: {
        flex: 1,
        backgroundColor:'#EDEDED'
    },
});